<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <form class="layui-form" target="hide_form" method="post" action="">
                        <div class="layui-form">
                            <div class="layui-form-item">
                                <label class="layui-form-label">版本设置</label>
                                <div class="layui-input-block">
                                    <a href="{:url('/Apply/index',['type'=>1,'app_id'=>$app_id])}" class="layui-btn layui-btn-normal layui-btn-sm" {eq name="type" value="2"}style="background: #666666;"{/eq} >Android版本设置</a>
                                    <a href="{:url('/Apply/index',['type'=>2,'app_id'=>$app_id])}" class="layui-btn layui-btn-normal layui-btn-sm" {eq name="type" value="1"}style="background: #666666;"{/eq} >Ios版本设置</a>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">应用名称</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="apply_name" value="{$oldData.apply_name|default=''}" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">
                                    {eq name="type" value="1"}APP 安卓系统版本：{/eq}
                                    {eq name="type" value="2"}APP IOS系统版本：{/eq}
                                </label>
                                <div class="layui-input-inline">
                                    <input type="text" name="version_code" value="{$oldData.version_code|default=''}" class="layui-input">
                                    <span>这里填版本号，通常用来程序内部标记，不展示给用户看，如100</span>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">
                                    {eq name="type" value="1"}APP 安卓版本：{/eq}
                                    {eq name="type" value="2"}APP IOS版本：{/eq}
                                </label>
                                <div class="layui-input-inline">
                                    <input type="text" name="version_name" value="{$oldData.version_name|default=''}" class="layui-input">
                                    <span>这里填版本号名，用来展示给用户看，如1.0.0</span>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">
                                    {eq name="type" value="1"}安卓下载链接：{/eq}
                                    {eq name="type" value="2"}AppStore链接：{/eq}
                                </label>
                                <div class="layui-input-inline">
                                    <input type="text" name="store_url" value="{$oldData.store_url|default=''}" class="layui-input">
                                </div>
                            </div>

                            <div class="layui-form-item">
                                <label class="layui-form-label">是否强制更新</label>
                                <div class="layui-input-block">
                                    <input type="radio" name="is_update" value="0" title="不强制更新" {empty name="oldData.is_update"} checked="checked" {/empty} />
                                    <input type="radio" name="is_update" value="1" title="强制更新" {notempty name="oldData.is_update"} checked="checked" {/notempty} />
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">更新标题</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="title" value="{$oldData.title|default=''}" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">更新说明</label>
                                <div class="layui-input-inline">
                                    <textarea cols="50" rows="5" name="explain" class="layui-textarea" style="width: 360px;height: 200px;">{$oldData.explain|default=''}</textarea>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <input type="submit" class="layui-btn layui-btn-normal" value="立即保存">
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
